    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%--
  Created by IntelliJ IDEA.
  User: HYGK-PC
  Date: 2022/3/23
  Time: 15:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
    <!-- 引入js文件时，写法不一样 -->
    <script src="${pageContext.request.contextPath}/bootstrap/js/jquery-3.5.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>


    <%--导航条--%>
    <%@include file="/WEB-INF/public/navigation.jsp"%>

    <div class="row">

    <%--左边的菜单--%>
    <%@include file="/WEB-INF/public/left_menu.jsp"%>


    <%--右边的内容--%>
    <div class="col-sm-10">
        <!-- 页头 -->
        <div class="page-header" style="margin-top: -20px;margin-bottom: 5px;">
        <h1>修改密码</h1>
        </div>
        <!-- 登录表单 -->
        <div class="row" style="margin-top: 40px;">
        <div class="col-sm-10">
        <!-- 表单 -->
        <form action="${pageContext.request.contextPath}/user/password" method="post">
        <div class="form-group">
        <label for="oldpassword">旧密码</label>
        <input type="password" class="form-control" id="oldpassword" name="oldpassword" placeholder="Please input oldpassword">
        </div>
        <div class="form-group">
        <label for="repassword">新密码</label>
        <input type="password" class="form-control" id="repassword" name="repassword" placeholder="Please input repassword">
        </div>
        <!--让submit清除浮动  -->
        <div style="float: left"><span style="color: red ; font-weight: bold">${errpwd}</span></div>
        <div class="clearfix">
        <button type="submit" style="margin-top: 40px;float: left; width: 40%;" class="btn btn-default">确定</button>
        </div>

        </form>
        </div>
        <div class="col-sm-2"></div>
        </div>
    </div>



    </div>

</body>
</html>
